package com.etoak.train.mapper;

import com.etoak.train.domain.Member;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Author by 孙有泽
 * @Date 2025/5/9 22:31
 * @Description 会员mapper层
 */
public interface MemberMapper {
    int count();
    @Select("select * from member where mobile=#{mobile}")
    List<Member> selectByMobile(String mobile);

    void insert(Member member);

}
